up: microprocessors - MC6800/MC6802 - instruction set - accumulators  
m6800/m6802 instruction set
Subtract Memory from Accumulator with Carry
What links here?
Subtract Memory From Accumulator With Carry
MemonicMode OpcodeCyclesBytes
SBCA Immediate 82 2 2
Direct 92 3 2
Indexed A2 5 2
Extended B2 4 3
SBCB Immediate C2 2 2
Direct D2 3 2
Indexed E2 5 2
Extended F2 4 3


A = A - M - C
B = B - M - C

Results:
H not affected
N set if bit 7 is 1
Z set if all bits are 0
V set on 2's complement overflow
C set on carry from bit 7
MC6802 - instruction set - Subtract Memory from Accumulator with Carry
filename:microprocessors - MC6800/MC6802 - instruction set - Subtract Memory from Accumulator with Carry
filename:microprocessors%20%2D%20MC6800%2FMC6802%20%2D%20instruction%20set%20%2D%20Subtract%20Memory%20from%20Accumulator%20with%20Carry
last edit:February 06 2010 14:05:36 (5202 days ago)
ct = 1714944974.000000 = May 05 2024 17:36:14
ft = 1265483136.000000 = February 06 2010 14:05:36
dt = 449461838.000000